// TerminalDataManager.h: interface for the CTerminalDataManager class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TERMINALDATAMANAGER_H__110D1B8A_CAAB_4E30_B424_A948AE754071__INCLUDED_)
#define AFX_TERMINALDATAMANAGER_H__110D1B8A_CAAB_4E30_B424_A948AE754071__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "AFXTEMPL.H"
#include "../Release/EntityDefine.h"
#include "ServerManager.h"

class CTerminalDataManager  
{
private:
	CString	m_strLastError;
	static CTerminalDataManager* m_pInstance; 
public:
	CArray<lpTerminalInfo,lpTerminalInfo> m_arrTerminal;
	BOOL ClearTerminal(); 
	BOOL AddItem(lpTerminalInfo pTerminal);
	CTerminalDataManager();
	virtual ~CTerminalDataManager();
	static CTerminalDataManager* CreateInstance();
};

#endif // !defined(AFX_TERMINALDATAMANAGER_H__110D1B8A_CAAB_4E30_B424_A948AE754071__INCLUDED_)
